package com.lczyfz.campusinfo.modules.jobmesmanage.service;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class InetAddressService {
    private InetAddress address;
    public  String InetAddress () {
        try {
            address = InetAddress.getLocalHost();
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
        return  address.getHostAddress();
    }



}
